package com.etone.smartAudit.vo.serverInfo.serverCollect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: sovy
 * @date: 2020/10/28
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "内存使用情况")
public class MemoryUsedVO implements Serializable {
    @ApiModelProperty("日期时间")
    private Date dateTime;

    @ApiModelProperty("内存大小（G）")
    private Double total;

    @ApiModelProperty("已使用内存大小（G）")
    private Double used;

    @ApiModelProperty("内存使用率（%）")
    private Double usedRate;
}
